.station-realtime-monitoring-spin {
  height: 100%;

  &.ant-spin-nested-loading {
    height: 100%;
    .ant-spin {
      max-height: unset;
    }
  }
  .ant-spin-container {
    height: 100%;
  }
}

.htn-badge {
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 3px 4px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  border-radius: 2px;
  &-soc {
    display: flex;
    align-items: center;
    justify-content: end;
    min-width: 40px;
    height: 18px;
    padding: 0;
    padding-right: 12px;
    padding-left: 4px;
    text-align: center;
    background-image: url('@/assets/img/ico_soc_history@2x.png');
    background-repeat: no-repeat; /* 不重复 */
    background-size: 100% 100%; /* 不重复拉伸填充 */
  }

  &-online {
    background: #1b6dfe;
  }
  &-offline,
  &-stop {
    background: #999999;
  }

  &-charge {
    background: #56d433;
  }
  &-discharge {
    background: #1b6dfe;
  }

  &-fault {
    background: #ff5251;
  }
}
